<include file="Install:header" />

    <div class="setup step2">
    	<h2>{$Think.lang.db_config}</h2>
    	<p>{$Think.lang.db_config_tips}</p>
    </div>
    <div class="stepstat">
    	<ul>
    		<li class="unactivated">1</li>
    		<li class="current">2</li>
    		<li class="unactivated">3</li>
    		<li class="unactivated last">4</li>
    	</ul>
    	<div class="stepstatbg stepstat2"></div>
    </div>

</div><!-- header end -->

<div class="main">
    <form method="post" action="__ACTION__">
    <fieldset>
    <legend>{$Think.lang.db_info}</legend>
	<table class="tb2" style="margin-left:60px;">
		<tr>
			<th>{$Think.lang.db_host}:</th>
			<td><input name="db_host" type="text" class="txt" value="localhost" /></td>
		</tr>
		<tr>
			<th>{$Think.lang.db_port}:</th>
			<td><input name="db_port" type="text" class="txt" value="3306" /></td>
		</tr>
		<tr>
			<th>{$Think.lang.db_name}:</th>
			<td><input name="db_name" type="text" class="txt" value="" /></td>
		</tr>
		<tr>
			<th>{$Think.lang.db_user}:</th>
			<td><input name="db_user" type="text" class="txt" value="" /></td>
		</tr>
		<tr>
			<th>{$Think.lang.db_pwd}:</th>
			<td><input name="db_pwd" type="password" class="txt" value="" /></td>
		</tr>
		<tr>
			<th>{$Think.lang.db_prefix}:</th>
			<td><input name="db_prefix" type="text" class="txt" value="qa_" /></td>
		</tr>
	</table>
	</fieldset>

	<div class="btnbox marginbot">
	    <input type="submit" value="{$Think.lang.next_step}" />
	    <input type="hidden" name="op" value="save" />
	</div>
    </form>

<include file="Install:footer" />
